package button;

import java.awt.Button;

public class LineButton extends Button{
	public static final String NAME="ButtonLine";
	private int[]start=new int[2];
	private int[]end=new int[2];
	private int times=1;
	public LineButton(){
		this.setName(NAME);
		this.setLabel(" Line ");
		this.setBounds(10, 150, 150, 50);
	}
	public void clear(){
		times=1;
		start=null;
		end=null;
	}
	public int[] getStart() {
		return start;
	}
	public void setStart(int[] start) {
		this.start = start;
	}
	public int[] getEnd() {
		return end;
	}
	public void setEnd(int[] end) {
		this.end = end;
	}
	public int getTimes() {
		return times;
	}
	public void setTimes(int times) {
		this.times = times;
	}
}
